*,
p {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

:root {
    --bg-color: #fff;
    --text-color: #000;
    /* 每个选项的背景颜色 */
    --itemBox_bg-color: #ECF5FF;
    /* 每个选项hover后的背景颜色 */
    --itemBox_hover-color: #F4F4F5;
    /* 解析框错误时候的颜色 */
    --jiexiBox_bg_color: #FEF0F0;
    --jiexiBox_test_color: #F56C6C;
    --jiexiBox_border_color: #FBC4C4;
    /* 解析框正确时候的颜色 */
    --active_bg_color: #F0F9EB;
    --active_border_color: #C2E7B0;
    --active_text_color: #7BCA54;
    /* 头部和底部导航栏的背景颜色 */
    --footer_header_bg_color: rgba(132, 95, 120, 0.8);
    /* 导航栏按钮的背景颜色 */
    --footer_header_btn_bg_color: linear-gradient(to bottom, rgb(213, 213, 217), rgb(151, 152, 156));
    /* 导航栏字体颜色 */
    --text-color_footer_header: #fff;

}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1E1E1E;
        --text-color: #D1D4DA;
        /* 每个选项的背景颜色 */
        --itemBox_bg-color: #444653;
        /* 每个选项hover后的背景颜色 */
        --itemBox_hover-color: #280349;
        /* 解析框错误时候的颜色 */
        --jiexiBox_bg_color: #3C2F2F;
        --jiexiBox_test_color: #FFC2C2;
        --jiexiBox_border_color: #FBC4C4;
        /* 解析框正确时候的颜色 */
        --active_bg_color: #444444;
        --active_border_color: #C2E7B0;
        --active_text_color: #039267;
        /* 头部和底部导航栏的背景颜色 */
        --footer_header_bg_color: rgba(132, 95, 120, 0.8);
        /* 导航栏按钮的背景颜色 */
        --footer_header_btn_bg_color: linear-gradient(to bottom, rgb(213, 213, 217), rgb(151, 152, 156));
        /* 导航栏字体颜色 */
        --text-color_footer_header: #D1D4DA;
    }
}

#app {
    width: 100%;
    height: 100%;
    background-color: #fff;
    font-family: PingFangSC-Medium, PingFang SC;
}

.swiper {
    min-height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.title {
    background-color: #DEE1E6;
}

.swiper-wrapper {
    margin-top: 5rem;
    padding-bottom: 5rem;
}

.swiper-wrapper::before {
    content: "";
    display: table;
    clear: both;
}

.header {
    background-color: var(--footer_header_bg_color);
    font-weight: 600;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 8;
    height: 5rem;
    line-height: 5rem;
    display: flex;
    justify-content: space-between;
}

.header .numBox {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .errBtn {
    background: var(--footer_header_btn_bg_color);
    height: 3rem;
    line-height: 3rem;
    width: 5rem;
    text-align: center;
    color: var(--text-color_footer_header);
    font-size: 0.9rem;
    border-radius: 8px;
    margin: 1rem;
}

.errBtn:active {
    background-color: #3A8EE6;
}

.header .GPT-box {
    width: 5rem;
    height: 3rem;
    line-height: 3rem;
    color: var(--text-color_footer_header);
    font-size: 0.9rem;
    border-radius: 8px;
    text-align: center;
    margin: 1rem;
    background: var(--footer_header_btn_bg_color);
}

.GPT-box:active {
    background-color: #3A8EE6;
}

.optBox {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    font-size: 0.9rem;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
}

.img {
    width: 100%;
    margin: 0.5rem 0;
}

.optBox .questionBox {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.optsB {
    padding: 1rem;
}

.optsB .itemBox {
    /* background-color: #ECF5FF; */
    background-color: var(--itemBox_bg-color);
    color: var(--text-color);
    border: 1px solid #B3D8FF;
    margin: 0.4rem 0;
    border-radius: 0.3rem;
    padding: 0.5rem 1rem;
}

.itemBox:hover {
    /* background-color: #F4F4F5; */
    background-color: var(--itemBox_hover-color);
    border: 0.5px solid #D3D4D6;
}

.jiexiBox {
    background-color: var(--jiexiBox_bg_color);
    border: 1px solid var(--jiexiBox_border_color);
    color: var(--jiexiBox_test_color);

    padding: 1rem;
    margin: 1rem;
    border-radius: 5px;
}

.footer {
    background: var(--footer_header_bg_color);
    position: fixed;
    bottom: 0;
    height: 4rem;
    display: flex;
    justify-content: space-around;
    /* background-color: rgba(132, 95, 120, 0.8); */
    width: 92vw;
    padding-top: 1rem;
    z-index: 9;
    border-radius: 2rem;
    margin: 0 4vw 1rem;
}

.footer .btnBox {
    background: var(--footer_header_btn_bg_color);
    /* background: linear-gradient(to bottom, rgb(213, 213, 217), rgb(151, 152, 156)); */
    display: block;
    width: 4.1rem;
    text-align: center;
    height: 2.8rem;
    line-height: 2.8rem;
    border-radius: 0.9rem;
    color: #fff;
}

.btnBox:active {
    background: linear-gradient(-45deg, #409EFF, rgb(151, 152, 156));
}

.yourChoose {
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.active {
    background-color: var(--active_bg_color);
    border: 1px solid var(--active_border_color);
    color: var(--active_text_color);


}

.itmActive {
    background-color: green;
}

.chooseBox {
    width: 100%;
    height: 30rem;
    background-color: #fff;
    position: fixed;
    z-index: 19;
    transform: translateY(5rem);
    transition: transform .5s;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .3);

}

.transitioned {
    transform: translateY(-26rem);
}

.chooseBox .titileBox {
    text-align: center;
    background-color: #F5F7FA;
    height: 3rem;
    line-height: 3rem;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .2);
}

.titileBox .closeBox {
    float: right;
    margin-top: -2.5rem;
    display: block;
    width: 4rem;
    color: #CBCBCB;
    height: 2rem;
    line-height: 2rem;
}

.closeBox:active {
    color: #3A8EE6;
}

.bigBox {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 0.5rem 0.7rem 30rem;
    box-sizing: border-box;
    overflow-y: hidden;
    height: 54rem;
    overflow-y: auto;
    background-color: #fff;
}

.bigBox .topicBox {
    width: 7.8vw;
    height: 7.8vw;
    line-height: 7.8vw;
    border-radius: 3.9vw;
    text-align: center;
    margin: 4px 2px;
    background-color: #ECF5FF;
    border: 1px solid #B3D8FF;

}

.bigBox .topicBox:active {
    background-color: #409EFF;
    color: #fff;
}

.overlayBox {
    width: 100vw;
    height: 90vh;
    background-color: rgba(0, 0, 0, .7);
    position: fixed;
    z-index: 9;
}

.animation-enter-frm,
.animation-leave-to {
    opacity: 0;
}

.animation-enter-active,
.animation-leave-active {
    transition: opacity 0.5s ease;
}

.tipBox {
    width: 30vw;
    height: 30vw;
    line-height: 30vw;
    border-radius: 0.5rem;
    background-color: pink;
    position: fixed;
    z-index: 99;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgba(0, 0, 0, .7);
    color: #fff;
}